/*
 * Copyright (c) 2022-2022 All rights Reserved.
 */

package com.driving.core.base;

import com.baomidou.mybatisplus.annotation.TableField;
import com.driving.core.mapper.type.Gender;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 包含人的属性
 *
 * @author SAGITTAR
 * @since 2017
 */
@Getter
@Setter
@NoArgsConstructor
public abstract class AbstractPerson<P extends AbstractPerson<P>> extends AbstractModel<P> {

    private static final long serialVersionUID = 1L;

    @TableField(value = "identification_Number")
    private String identificationNumber;

    @TableField(value = "name")
    private String name;

    @TableField(value = "gender")
    private Gender gender;

    @TableField(value = "mobile")
    private String mobile;

    @TableField(value = "password")
    private String password;

    public AbstractPerson(Integer id) {
        super(id);
    }
}
